package com.cmwa.solution.business.demand.dao;

import java.util.List;

import com.cmwa.solution.annotation.MybatisDao;
import com.cmwa.solution.base.entity.SearchParam;
import com.cmwa.solution.business.demand.entity.PrdDemandVo;

@MybatisDao
public interface PrdDemandDao {

	List<PrdDemandVo> prdDemandListPage(SearchParam sp);

	void insertDemand(PrdDemandVo demandVo);

	/**
	 * 详情
	 * @param demandId
	 * @return
	 */
	PrdDemandVo demandDetail(String demandId);

	/**
	 * 更新
	 * @param demandVo
	 */
	void updateDemand(PrdDemandVo demandVo);

	/**
	 * 删除
	 * @param demandId
	 */
	void deleteDemandById(String demandId);

}
